﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DLL.TrainingExperience
{
	/// <summary>
	/// 培训经历实体类
	/// </summary>
	public class Entity
	{
		private int nPersonID = 0;		// 唯一吗
		private string strPersonName = "";		// 姓名
		private string strStartDate = "";		// 培训开始日期
		private string strEndDate = "";		// 培训结束日期
		private string strAddress = "";		// 培训地点
		private string strContent = "";		// 培训内容
		private int nDayNumber = 0;		// 培训天数
		private string strState = "";		// 培训状态
		private string strOrganization = "";		// 培训机构
		private int nSort = 0;		// 培训类型
		private int nChannel = 0;		// 培训渠道
		private string strPersonDepartmentID = "0";		// 单位ID
		private string strPersonDepartmentName = "";		// 单位名称
		private int nCount = 0;		// 统计
		private int nStatus = 0;		// 记录状态

		/// <summary>
		/// 单位名称
		/// </summary>
		public string PersonDepartmentName
		{
			get { return strPersonDepartmentName; }
			set { strPersonDepartmentName = value.Trim(); }
		}
		/// <summary>
		/// 记录状态（2）
		/// </summary>
		public int Status
		{
			get { return nStatus; }
			set { nStatus = value; }
		}
		/// <summary>
		/// 统计（0）
		/// </summary>
		public int Count
		{
			get { return nCount; }
			set { nCount = value; }
		}
		/// <summary>
		/// 单位ID
		/// </summary>
		public string PersonDepartmentID
		{
			get { return strPersonDepartmentID; }
			set { strPersonDepartmentID = value.Trim(); }
		}
		/// <summary>
		/// 培训渠道（8.网络培训）
		/// </summary>
		public int Channel
		{
			get { return nChannel; }
			set { nChannel = value; }
		}
		/// <summary>
		/// 培训类型
		/// </summary>
		public int Sort
		{
			get { return nSort; }
			set { nSort = value; }
		}
		/// <summary>
		/// 培训机构
		/// </summary>
		public string Organization
		{
			get { return strOrganization; }
			set { strOrganization = value.Trim(); }
		}
		/// <summary>
		/// 培训状态（完成）
		/// </summary>
		public string State
		{
			get { return strState; }
			set { strState = value.Trim(); }
		}
		/// <summary>
		/// 培训天数
		/// </summary>
		public int DayNumber
		{
			get { return nDayNumber; }
			set { nDayNumber = value; }
		}
		/// <summary>
		/// 培训内容
		/// </summary>
		public string Content
		{
			get { return strContent; }
			set { strContent = value.Trim(); }
		}
		/// <summary>
		/// 培训地点
		/// </summary>
		public string Address
		{
			get { return strAddress; }
			set { strAddress = value.Trim(); }
		}
		/// <summary>
		/// 培训结束日期
		/// </summary>
		public string EndDate
		{
			get { return strEndDate; }
			set { strEndDate = value.Trim(); }
		}
		/// <summary>
		/// 培训开始日期
		/// </summary>
		public string StartDate
		{
			get { return strStartDate; }
			set { strStartDate = value.Trim(); }
		}
		/// <summary>
		/// 人员唯一吗
		/// </summary>
		public int PersonID
		{
			get { return nPersonID; }
			set { nPersonID = value; }
		}
		/// <summary>
		/// 姓名
		/// </summary>
		public string PersonName
		{
			get { return strPersonName; }
			set { strPersonName = value.Trim(); }
		}
	}
}
